﻿Namespace ImportExport
    ''' <summary>Constants representing XML document parts</summary>
    Module MiscXML
#Region "tags"
        ''' <summary>Name of XML tag &lt;author></summary>
        Public Const tagAuthor As String = "author"
        ''' <summary>Name of XML tag Dictionary</summary>
        Public Const tagDictionary As String = "Dictionary"
        ''' <summary>Name of XML tag &lt;info></summary>
        Public Const tagInfo As String = "info"
        ''' <summary>Name of XML element &lt;note></summary>
        Public Const tagNote As String = "note"
        ''' <summary>Name of XML tag &lt;original></summary>
        Public Const tagOriginal As String = "original"
        ''' <summary>Name of XML tag &lt;pair></summary>
        Public Const tagPair As String = "pair"
        ''' <summary>Name of XML tag &lt;Primary></summary>
        Public Const tagPrimary As String = "Primary"
        ''' <summary>Name of XML element &lt;rel></summary>
        Public Const tagRel As String = "rel"
        ''' <summary>Name of XML element &lt;RelatedWord></summary>
        Public Const tagRelatedWord As String = "relatedword"
        ''' <summary>Name of XML element &lt;relw></summary>
        Public Const tagRelw As String = "relw"
        ''' <summary>Name of XML element &lt;W1></summary>
        Public Const tagW1 As String = "W1"
        ''' <summary>Name of XML element &lt;W2></summary>
        Public Const tagW2 As String = "W2"
#End Region
#Region "attributes"
        ''' <summary>Name of Date XML attribute</summary>
        Public Const attrDate As String = "Date"
        ''' <summary>Name of e-mail XML attribute</summary>
        Public Const attrEMail As String = "e-mail"
        ''' <summary>Name of English1 XML attribute</summary>
        Public Const attrEnglish1 As String = "English1"
        ''' <summary>Name of English2 XML attribute</summary>
        Public Const attrEnglish2 As String = "English2"
        ''' <summary>Name of FirstName XML attribute</summary>
        Public Const attrFirstName As String = "FirstName"
        ''' <summary>Name of ICO XML attribute</summary>
        Public Const attrICO As String = "ICO"
        ''' <summary>Name of XML attribute L</summary>
        Public Const attrL As String = "L"
        ''' <summary>Name of Lang1Code XML attribute</summary>
        Public Const attrLang1Code As String = "Lang1Code"
        ''' <summary>Name of Lang2Code XML attribute</summary>
        Public Const attrLang2Code As String = "Lang2Code"
        ''' <summary>Name of LastName XML attribute</summary>
        Public Const attrLastName As String = "LastName"
        ''' <summary>Name of XML attribute N</summary>
        Public Const attrN As String = "N"
        ''' <summary>Name of Name1 XML attribute</summary>
        Public Const attrName1 As String = "Name1"
        ''' <summary>Name of Name2 XML attribute</summary>
        Public Const attrName2 As String = "Name2"
        ''' <summary>Name of NameE XML attribute</summary>
        Public Const attrNameE As String = "NameE"
        ''' <summary>Name of Native1 XML attribute</summary>
        Public Const attrNative1 As String = "Native1"
        ''' <summary>Name of Native2 XML attribute</summary>
        Public Const attrNative2 As String = "Native2"
        ''' <summary>Name of nick XML attribute</summary>
        Public Const attrNick As String = "nick"
        ''' <summary>Name of note XML attribute</summary>
        Public Const attrNote As String = "note"
        ''' <summary>Name of Other1 XML attribute</summary>
        Public Const attrOther1 As String = "Other1"
        ''' <summary>Name of Other2 XML attribute</summary>
        Public Const attrOther2 As String = "Other2"
        ''' <summary>Name of XML attribute rel</summary>
        Public Const attrRel As String = "rel"
        ''' <summary>Name of XML attribute source</summary>
        Public Const attrSource As String = "source"
        ''' <summary>Name of Version XML attribute</summary>
        Public Const attrVersion As String = "Version"
        ''' <summary>Name of XML attribute word</summary>
        Public Const attrWord As String = "word"
        ''' <summary>Name of www XML attribute</summary>
        Public Const attrWww As String = "www"
#End Region
#Region "values"
        ''' <summary>XML value noun for noun</summary>
        Public Const valNoun As String = "noun"
        ''' <summary>XML value adj for adjective</summary>
        Public Const valAdj As String = "adj"
        ''' <summary>XML value adv for adverb</summary>
        Public Const valAdv As String = "adv"
        ''' <summary>XML value intj for interjection</summary>
        Public Const valIntj As String = "intj"
        ''' <summary>XML value conj for conjuction</summary>
        Public Const valConj As String = "conj"
        ''' <summary>XML value num for numeral</summary>
        Public Const valNum As String = "num"
        ''' <summary>XML value part for particle</summary>
        Public Const valPart As String = "part"
        ''' <summary>XML value phrase</summary>
        Public Const valPhrase As String = "phrase"
        ''' <summary>XML value prep for preposition</summary>
        Public Const valPrep As String = "prep"
        ''' <summary>XML value pron for pronoun</summary>
        Public Const valPron As String = "pron"
        ''' <summary>XML value seealso</summary>
        Public Const valSeealso As String = "seealso"
        ''' <summary>XML value type</summary>
        Public Const valType As String = "type"
        ''' <summary>XML value verb for verb</summary>
        Public Const valVerb As String = "verb"
        ''' <summary>XML value art for article</summary>
        Public Const valArt$ = "art"
#End Region
    End Module

    ''' <summary>Types of relations between words</summary>
    Public Enum enmRelation
        ''' <summary>See also relation</summary>
        SeeAlso = 1
        ''' <summary>Phrase relation</summary>
        Phrase = 2
    End Enum

    ''' <summary>Word types</summary>
    Public Enum enmType
        ''' <summary>Unknown</summary>
        NA = 0
        ''' <summary>Noun substantive</summary>
        Noun = 1
        ''' <summary>Adjective</summary>
        Adjective = 2
        ''' <summary>Pronoun</summary>
        Pronoun = 3
        ''' <summary>Numeral</summary>
        Numeral = 4
        ''' <summary>Verb</summary>
        Verb = 5
        ''' <summary>Adverb</summary>
        Adverb = 6
        ''' <summary>Preposition</summary>
        Preposition = 7
        ''' <summary>Conjuction</summary>
        Conjuction = 8
        ''' <summary>Particle</summary>
        Particle = 9
        ''' <summary>Interjection</summary>
        Interjection = 10
        ''' <summary>Phrase</summary>
        Phrase = 11
        ''' <summary>Article</summary>
        Article = 12
    End Enum
End Namespace
